// Package stockrank
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2024 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.13.1
package stockrank

import (
	"hotgo/internal/model/input/sysin"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询人气榜列表
type ListReq struct {
	g.Meta `path:"/stockRank/list" method:"get" tags:"人气榜" summary:"获取人气榜列表"`
	sysin.StockRankListInp
}
type ListRes struct {
	Items []*ListItem `json:"items"   dc:"数据列表"`
}
type ListItem struct {
	Source string                      `json:"source"`
	List   []*sysin.StockRankListModel `json:"list"   dc:"数据列表"`
}

// ExportReq 导出人气榜列表
type ExportReq struct {
	g.Meta `path:"/stockRank/export" method:"get" tags:"人气榜" summary:"导出人气榜列表"`
	sysin.StockRankListInp
}

type ExportRes struct{}

// ViewReq 获取人气榜指定信息
type ViewReq struct {
	g.Meta `path:"/stockRank/view" method:"get" tags:"人气榜" summary:"获取人气榜指定信息"`
	sysin.StockRankViewInp
}

type ViewRes struct {
	*sysin.StockRankViewModel
}

// EditReq 修改/新增人气榜
type EditReq struct {
	g.Meta `path:"/stockRank/edit" method:"post" tags:"人气榜" summary:"修改/新增人气榜"`
	sysin.StockRankEditInp
}

type EditRes struct{}

// DeleteReq 删除人气榜
type DeleteReq struct {
	g.Meta `path:"/stockRank/delete" method:"post" tags:"人气榜" summary:"删除人气榜"`
	sysin.StockRankDeleteInp
}

type DeleteRes struct{}
